package com.unchartedskies.controller.event
{
	import flash.events.Event;
	
	public class StateEvent extends Event
	{
		public static const CHANGE_STATE:String = "StateEvent.ChangeState";
		public var stateName:String;
		
		public function StateEvent(type:String, stateName:String)
		{
			this.stateName = stateName;
			super(type, bubbles, cancelable);
		}
		override public function clone():Event
		{
			return new StateEvent(type, stateName);
		}
	}
}